﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WinAppBasics {
    public class CKreis {
        private double r;       //das einzige Feld

        public string radius {
            get { return (r.ToString("#,#0.00")); }
            set {
                if (value != "") r = Convert.ToDouble(value);
                else r = 0;
            }
        }
        public string umfang {
            get { return (2 * Math.PI * r).ToString("#,#0.00"); }
            set {
                if (value != "") Convert.ToDouble(value) / 2 / Math.PI;
                else 
            }
        }




    }
}
